package com.ruoyi.common.core.domain.business.waterDistribution;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 基本作物类型对象 wi_crop_b
 * 
 * @author ps
 * @date 2023-02-16
 */
public class WiCropB extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 作物代码 */
    private String cropCd;

    /** 作物名称 */
    @Excel(name = "作物名称")
    private String cropNm;

    /** 备注 */
    @Excel(name = "备注")
    private String cropMark;

    public void setCropCd(String cropCd) 
    {
        this.cropCd = cropCd;
    }

    public String getCropCd() 
    {
        return cropCd;
    }
    public void setCropNm(String cropNm) 
    {
        this.cropNm = cropNm;
    }

    public String getCropNm() 
    {
        return cropNm;
    }
    public void setCropMark(String cropMark) 
    {
        this.cropMark = cropMark;
    }

    public String getCropMark() 
    {
        return cropMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cropCd", getCropCd())
            .append("cropNm", getCropNm())
            .append("cropMark", getCropMark())
            .toString();
    }
}
